How to let user input and delete the inventory he